package com.xushan.service.impl;

import com.xushan.dao.UserDao;
import com.xushan.entity.User;
import com.xushan.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Collection;

/**
 * Created by xushan_2 on 2017/5/11.
 */
@Service("userService")
public class UserServiceImpl implements UserService {
    @Resource
    private UserDao userDao;
    public Collection<User> getUserList() {
        return userDao.getUserList();
    }
}
